package cn.qfei.qiyuesuo.vo;

import java.io.Serializable;
import java.util.Map;

/**
 * @Author chenlp
 * @Date 2023/8/14 17:06
 **/

public class FeishuContractVo extends BaseVo {
    private static final long serialVersionUID = 2847973632213146698L;

    public static final String CONTRACT_FIELD_KEY = "contract";
    public static final String PROCESS_INSTANCE_KEY = "process_instance";



    private int code;

    private Map<String, Object> data;

    private boolean success;

    private String msg;

    public boolean SUCCESS(){
        return this.code == 0 && success;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
